package com.hejing.project03_优尚开发团队人员调度系统.domain;

/**
 * ClassName: PC
 * Package: com.hejing.project03_优尚开发团队人员调度系统.domain
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-04-12 10:42
 * @Version: 1.0
 */
public class PC implements Equipment{

    private String model;    // 机器型号
    private String display;  // 显示器名称


    public PC() {
    }

    public PC(String model, String display) {
        this.model = model;
        this.display = display;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getDisplay() {
        return display;
    }

    public void setDisplay(String display) {
        this.display = display;
    }



    // ctrl + i : 重写方法快捷键
    @Override
    public String getDescription() {
        return model + "(" + display + ")";
    }
}


























